package com.yd.domain.business;

import com.yd.domain.commom.DomainObject;

/**
 * @author zy
 * @create 2018-03-07 8:56
 * @desc 优惠券类型
 **/
public class CouponType  extends DomainObject<CouponType> {
    private String typeCode;//主键code
    private String title;//标题
    private String des;//描述
    private float dealPrice;//满足交易价格
    private float discountPrice;//折扣价格
    private float discountRatio;//折扣比例

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public float getDealPrice() {
        return dealPrice;
    }

    public void setDealPrice(float dealPrice) {
        this.dealPrice = dealPrice;
    }

    public float getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(float discountPrice) {
        this.discountPrice = discountPrice;
    }

    public float getDiscountRatio() {
        return discountRatio;
    }

    public void setDiscountRatio(float discountRatio) {
        this.discountRatio = discountRatio;
    }

    @Override
    public String toString() {
        return "BusinessCouponType{" +
                "typeCode='" + typeCode + '\'' +
                ", title='" + title + '\'' +
                ", des='" + des + '\'' +
                ", dealPrice=" + dealPrice +
                ", discountPrice=" + discountPrice +
                ", discountRatio=" + discountRatio +
                '}';
    }
}
